package com.orion.controller;

import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * @author Administrator
 * @date 2021/9/23
 */
@RestController
@RequestMapping("/kk")
public class KkController {

    @GetMapping("/index")
    public String index(){
        return "index";
    }

    @GetMapping("/api")
    public String api(){
        return  "my api";
    }
}
